package com.ruoyi.common.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 数据权限过滤注解
 * 
 * @author ruoyi
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface DataScope
{
    /**
     * 部门表的别名
     */
    public String deptAlias() default "";

    public String productCatesAlias() default "";

    public String oemAlias() default "";

    public String colorAlias() default "";
    /**
     * 用户表的别名
     */
    public String userAlias() default "";

    public String paymentAlias() default "";

    public String contractTemplatesAlias() default "";

    /**
     * 产品信息
     * @return
     */
    public String skuAlias() default "";

    /**
     * 产品表
     * @return
     */
    public String productAlias() default "";

    /**
     * 权限字符（用于多个角色匹配符合要求的权限）默认根据权限注解@ss获取，多个权限用逗号分隔开来
     */
    public String permission() default "";

    public String QualityAlias() default "";

    public String CompanyAlias() default "";

    public String DeptQualityAlias() default "";

    public String ShipmentStatusAlias() default "";

    public String FreightMethodAlias() default "";

    public String VendorAlias() default "";

    public String PreWarehouseAlias() default "";

    public String MonetaryAlias() default "";

    public String PlatformAlias() default "";

    public String SiteFormAlias() default "";

    public String StateAlias() default "";

    public String BrandAlias() default "";

    public String AuthBrandAlias() default "";

}
